package state_pattern;

import state_pattern.concrete_state.ClosingState;
import state_pattern.concrete_state.RunningState;
import state_pattern.concrete_state.StoppingState;
import state_pattern.context.Context;

public class Client {

    public static void main(String[] args) {
        Context context = new Context();
        context.setLiftState(new RunningState());

        context.open();
        context.close();
        context.run();
        context.stop();
    }
}
